package sunflower.domain;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import sunflower.domain.mapper.UserMapper;

import java.util.List;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2021-09-29 17:37
 **/
@Service
@RequiredArgsConstructor
public class UserService {
    private final UserMapper repository;

    public Boolean insertAll(List<User> users) {
        return repository.insertAll(users);
    }
}
